#include <iostream>

int main(int argc, char const *argv[])
{
    int N = 10;
    int arr[N] = {1, 3, 2, 4, 0, 1, 2};

    int *p = arr;
    using namespace std;
    for (int i = 0; i < N; i++)
    {
        cout << "arr[" << i << "] = " << arr[i] << endl;
        cout << "*p = " << *p << " " << p << endl;
        p++;
    }
    return 0;
}
